package com.homedo.odin.solution.dao;

import com.homedo.core.common.base.dao.BaseDao;
import com.homedo.odin.solution.model.dto.BrandFirmBean;
import com.homedo.odin.solution.model.entity.BrandFirm;
import com.homedo.odin.solution.model.response.pc.brand.BrandFirmPcListResponseBean;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * <p> 品牌厂商 Mapper 接口 </p>
 *
 * @author HarveyDing
 * @since 2018-03-08
 */
public interface BrandFirmMapper extends BaseDao<BrandFirm> {

    BrandFirm findFirmByUserIdAndSubmit(@Param("userId") Integer userId);

    BrandFirm getBrandFirm(@Param("userId") Integer userId);

    List<BrandFirm> queryBrandFirmByParams(@Param("userId") String userId, @Param("status") Integer status);

//    void auditBrandFirm(@Param("userId")Integer userId, @Param("status")Integer status, @Param("auditOpinion")String auditOpinion);

    List<BrandFirmPcListResponseBean> getPcBrandFirmList();

    List<BrandFirm> getAllBrandFirm();

    List<BrandFirm> getBrandFirmByBrandId(@Param("brandId") Integer brandId);

    List<BrandFirmBean> queryBrandFirmByParam(@Param("userId") String userId, @Param("status") Integer status);
}